home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
prog
/
gnu-c
/
fd2inline-1.1
/
include
/
inline
/
battmem.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-24
|
852b
|
31 lines
/* Automatically generated header! Do not edit! */
#ifndef _INLINE_BATTMEM_H
#define _INLINE_BATTMEM_H
#ifndef __INLINE_MACROS_H
#include <inline/macros.h>
#endif /* !__INLINE_MACROS_H */
#ifndef BATTMEM_BASE_NAME
#define BATTMEM_BASE_NAME BattMemBase
#endif /* !BATTMEM_BASE_NAME */
#define ObtainBattSemaphore() \
LP0NR(0x6, ObtainBattSemaphore, \
, BATTMEM_BASE_NAME)
#define ReadBattMem(buffer, offset, length) \
LP3(0x12, ULONG, ReadBattMem, APTR, buffer, a0, unsigned long, offset, d0, unsigned long, length, d1, \
, BATTMEM_BASE_NAME)
#define ReleaseBattSemaphore() \
LP0NR(0xc, ReleaseBattSemaphore, \
, BATTMEM_BASE_NAME)
#define WriteBattMem(buffer, offset, length) \
LP3(0x18, ULONG, WriteBattMem, APTR, buffer, a0, unsigned long, offset, d0, unsigned long, length, d1, \
, BATTMEM_BASE_NAME)
#endif /* !_INLINE_BATTMEM_H */